//
//  FSMBase.h
//  SpaceStorm
//
//  Created by 祥 雍 on 13-7-21.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol FSMBaseDelegate <NSObject>
-(void) enter;
-(void) execute;
-(void) exit;

@optional

@end

@interface FSMBase : NSObject <FSMBaseDelegate>
{
}

@end

@interface FSMManagerBase : NSObject
{
    FSMBase* _curState;
}

-(void) update;
-(void) changeState:(FSMBase*)state;
@end
